var express = require('express');
var router = express.Router();
var userClass = require("../routes/userClass"); // Directly designating the same folder will be mistaken as a module

/* GET userCenter page. */
router.get('/', function(req, res, next) {

    let user = userClass.enterUser();

    res.render('userSetting', {
        title: 'TMR - userSetting' ,
        moduleTitle: "Settings",
        user: user,
        buttonTitle: "back to user center",
        interimUser : global.interimUser,
        global : global,
    });
});

module.exports = router;